package com.pan.admin.module.loanProduct.service;

import com.pan.admin.module.loanProduct.entity.po.LoanProductPlanFilterChannelPO;

import java.util.List;

/**
 *  机构计划屏蔽渠道业务层
 *
 *  @author Pan
 */
public interface LoanProductPlanFilterChannelService {

    /**
     *  根据机构计划id获取屏蔽项
     *
     *  @param   loanProductId   主体主键id
     *  @param   loanProductPlanId   机构计划主键id
     *  @return  List
     */
    List<LoanProductPlanFilterChannelPO> list(Long loanProductId, Long loanProductPlanId);

    /**
     *  更新机构计划屏蔽渠道
     *
     *  @param loanProductPlanId
     *  @param loanChannelIds
     */
    void update(Long loanProductPlanId, List<Long> loanChannelIds);
}
